<!-- 项目库 -->
<template>
	<div>
		<devArticle>
		<card>
			<p slot="title">
				项目库
			</p>
			<Row>             
              <Col style="border:1px #e8eaec solid;text-align: center;padding:5px 0" span="4">总计</Col>
              <Col style="border:1px #e8eaec solid;text-align: center;padding:5px 0" span="4">30个报告书20个报告表</Col>
              <Col style="border:1px #e8eaec solid;text-align: center;padding:5px 0" span="4">绩效8000</Col>
              <Col span="12">
              	<Input search enter-button="搜索" style="float: right;width: 50%">
              	</Input>
              </Col>
            </Row>
            <Table border :columns="columns1" :data="data1" style="margin-top: 10px"></Table>
            <Row style="padding:10px 0">
              <Col span="24">
              <Page style="float:right" :total="100" show-total />
              </Col>
            </Row>
		</card>	
		</devArticle>
	</div>
</template>
<script>
	export default{
		data(){
			return{
				columns1: [{
          title: '序号',
          key: 'num',
          align: 'center'
        },        
        {
          title: '项目名称',
          key: 'name',
          align: 'center'
        },
        {
          title: '公司级别',
          key: 'level',
          align: 'center'
        },
        {
          title: '报告类型',
          key: 'type',
          align: 'center'
        },
        {
          title: '项目负责人',
          key: 'person',
          align: 'center'
        },
        {
          title: '创建日期',
          key: 'time1',
          align: 'center'
        },
        {
          title: '结束日期',
          key: 'time1',
          align: 'center'
        },
        {
          title: '环评合同额',
          key: 'amount',
          align: 'center'
        },
        {
          title: '操作',
          key: '1',
          align: 'center',
          render: (h, params) => {
            return h("div", [
              h(
                "Button", {
                  props: {
                    type: "primary",
                    size: "small"
                  },
                  on: {
                    click: () => {
                      this.show(params.index);
                    }
                  }
                }, '查看'
              )
            ])
          }
        }
      ],data1: [{
        num: '1',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '2',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '3',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '4',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '5',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '6',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '7',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '8',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '9',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',

      }, {
        num: '10',
        name: '某项目',
        level: '河南分公司',
        type: '报告单',
        person: '某某某',
        time1: '2018-8-31',
        time2: '2018-9-01',
        amount: '200',
      }]
			}
		}
	}
</script>
<style>
	
</style>